public class HelloJava {
    public static void main(String[] args) {
        System.out.println("=== Java Demo ===");
        System.out.println("Hello from Java running on GraalVM 25!");
        System.out.println("Java Version: " + System.getProperty("java.version"));
        System.out.println("GraalVM Info: " + System.getProperty("java.vm.name"));

        var list = java.util.List.of("Java", "Kotlin", "Scala", "Groovy");
        System.out.println("Languages: " + String.join(" + ", list));
    }
}
